<script lang="ts" setup>
import { onMounted, ref } from 'vue';
import WorkFlow from '@/package/WorkFlow.vue';

// 初始化内容（默认内容）
import xml from './xml';

const xmlStr = ref<string>(xml);
onMounted(() => {});

function onSave(ev) {
  console.log(ev);
}
</script>

<template>
  <work-flow v-model="xmlStr" @save="onSave" />
</template>

<style lang="scss" scoped></style>
